package Assignment;

import java.lang.invoke.ConstantBootstraps;

public class Test12 {
    public static void main(String[] args) {
        int year = 1949;
        int pigYear = 2019;

        for (int i = year; i <= pigYear ; i++) {
            if ((pigYear -i)% 12 ==0) {
                System.out.println(i);
            }
        }

    }


}
